# -*- conding: utf-8 -*-

for sayi1 in range(10):
    for sayi2 in range(10):
        for sayi3 in range(10):
            if sayi1 * sayi2 * sayi3 == 60:
                break
            if sayi1 * sayi2 * sayi3 == 90:
                break
               
        else:
            print "else",sayi1,sayi2,sayi3
            continue
        break
    else:
        print "else",sayi1,sayi2,sayi3
        continue
    break
print sayi1,sayi2,sayi3
